﻿using Absky.Data.Repository;
using Absky.Entity.SystemManage;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Absky.Service.SystemManage
{
    /// <summary>
    /// logo设置 
    /// </summary>
    public class LogoImgService : RepositoryFactory
    {
        #region 构造函数和属性 

        private string fieldSql;
        /// <summary>
        /// 
        /// </summary>
        public LogoImgService()
        {
            fieldSql = @" 
                t.F_Code, 
                t.F_FileName 
            ";
        }
        #endregion

        #region 获取数据 

        /// <summary>
        /// 获取列表数据
        /// </summary>
        /// <param name="queryJson">条件参数</param>
        /// <returns></returns>
        public IEnumerable<LogoImgEntity> GetList(string queryJson)
        {
            return new List<LogoImgEntity>();
        }
        /// <summary> 
        /// 获取实体数据 
        /// </summary> 
        /// <param name="keyValue">主键</param> 
        /// <returns></returns> 
        public async Task<LogoImgEntity> GetEntity(string keyValue)
        {
            return null;
            //return await this.BaseRepository().FindEntity<LogoImgEntity>(s => s.F_Code == keyValue);
        }

        #endregion

        #region 提交数据 

        /// <summary> 
        /// 删除实体数据 
        /// </summary> 
        /// <param name="keyValue">主键</param> 
        public void DeleteEntity(string keyValue)
        {
        }

        /// <summary> 
        /// 保存实体数据（新增、修改） 
        /// </summary> 
        /// <param name="entity">实体</param> 
        public void SaveEntity(LogoImgEntity entity)
        {

            
        }

        #endregion

    }
}
